const router = require("koa-router")();
router.get("/login",async ctx=>{
    if(ctx.cookies.get("login")){
        ctx.redirect("/m1")
    }else{
        await ctx.render("login")
    }
})
module.exports = router;